package strategy

type MinCostStrategy struct{}

func (s *MinCostStrategy) GetType() ConstraintType {
	return MinCost
}

func (s *MinCostStrategy) Evaluate(current MultiObjectiveScore, link *LinkWithAttrs) MultiObjectiveScore {
	newScore := append(MultiObjectiveScore{}, current...)
	newScore[4] += float64(link.Metric)
	return newScore
}

func (s *MinCostStrategy) Apply(args ...interface{}) bool {
	return true
}
